﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for MobileBlo
/// </summary>
public class MobileBlo
{
    #region "variable"
    private MobileDao dao;
    private string _error;
    private MobileDto dto;
    #endregion

    #region "properties"
    public string Error
    {
        get { return _error; }
        set { _error = value; }
    }


    public MobileDto Service
    {
        get { return dto; }
        set { dto = value; }
    }
    #endregion
  
	public MobileBlo()
	{
		dao=new MobileDao();
        dto=new MobileDto();
	}
    public void DeleteMobileNumber(int id_MN)
    {
        dao.DeleteMobileNumber(id_MN);
    }
    public MobileDto SelectMobileByNumber(string phone)
    {
        return dao.SelectMobileByNumber(phone);
    }
    public List<MobileDto> SelectMobileByID_UA(int id_UA)
    {
        return dao.SelectMobileByID_UA(id_UA);
    }
}